#ifndef _EKL_IOIF_H_
#define _EKL_IOIF_H_

#include <stdarg.h>

void printfmt(void (*putch)(int, void*), void *putdat, const char *fmt, ...);
void vprintfmt(void (*putch)(int, void*), void *putdat, const char *fmt, va_list);

int snprintf(char *str, int size, const char *fmt, ...);
int vsnprintf(char *str, int size, const char *fmt, va_list);

#endif /* _EKL_IOIF_H_ */
